package map.core;

public class IntRange {
    private int min;
    private int max;

    public IntRange(int min, int max) {
        this.min = min;
        this.max = max;
    }

    public int getMin() {
        return min;
    }

    public int getMax() {
        return max;
    }


    public int getWidth(){
        return this.max - this.min;
    }

    @Override
    public String toString() {
        return "DoubleRange{" +
                "min=" + min +
                ", max=" + max +
                '}';
    }

}
